package com.schematic.flixel.spaceinvaders
{
import org.flixel.FlxState;
import org.flixel.FlxText;
import flash.geom.Orientation3D;
import org.flixel.FlxG;
import org.flixel.FlxU;
import org.flixel.data.FlxMouse;
import org.flixel.FlxSprite;

public class Splash extends FlxState
{
    public function Splash()
    {
        super();
    }
    
    private var splashText:SplashText;
    
    override public function create():void
    {
        FlxG.mouse.show();
        add(new SplashText());
    }
    
    override public function update():void
    {
        super.update();
        if (FlxG.mouse.justPressed())
            FlxG.state = new PlayState();
    }

}
}